package com.panshi.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping
public class IndexController {

    @GetMapping("/index")
    public String toIndex(){
        return "page/index";
    }

    @GetMapping("/welcome")
    public String toWelcome(){
        return "page/welcome";
    }


    //======================Menu=========================
    @GetMapping("/menu")
    public String toMenu(){
        return "/page/menu/menu-list";
    }


    @GetMapping("/menuAdd")
    public String toMenuAdd(){
        return "page/menu/menu-add";
    }

    @GetMapping("/menuEdit")
    public String toMenuEdit(){
        return "page/menu/menu-edit";
    }



    //======================Role=========================
    @GetMapping("/role")
    public String toRole(){
        return "page/role/role-list";
    }

    @GetMapping("/roleAdd")
    public String toRoleAdd(){
        return "page/role/role-add";
    }

    @GetMapping("/roleEdit")
    public String toRoleEdit(){
        return "page/role/role-edit";
    }


    //=====================Sysuser==========================

    @GetMapping("/sysuser")
    public String toSysuser(){
        return "page/sysuser/sysuser-list";
    }

    @GetMapping("/sysuserAdd")
    public String toSysuserAdd(){
        return "page/sysuser/sysuser-add";
    }

    @GetMapping("/sysuserEdit")
    public String toSysuserEdit(){
        return "page/sysuser/sysuser-edit";
    }


    //=========================zx=======================================

    @GetMapping("/zx")
    public String toZx(){
        return "page/zx/zx-list";
    }

    @GetMapping("/zxUncheckList")
    public String toZxUncheck(){
        return "page/zx/zx-uncheck-list";
    }

    @GetMapping("/zxAdd")
    public String toZxAdd(){
        return "page/zx/zx-add";
    }

    @GetMapping("/zxEdit")
    public String toZxEdit(){
        return "page/zx/zx-edit";
    }

    @GetMapping("/zxCheck")
    public String toZxCheck(){
        return "page/zx/zx-check";
    }


    //=========================qs=======================================

    @GetMapping("/qs")
    public String toQs(){
        return "page/qs/qs-list";
    }

    @GetMapping("qsUncheckList")
    public String toQsUncheck(){
        return "page/qs/qs-uncheck-list";
    }

    @GetMapping("/qsAdd")
    public String toQsAdd(){
        return "page/qs/qs-add";
    }

    @GetMapping("/qsLook")
    public String toQsEdit(){
        return "page/qs/qs-look";
    }

    @GetMapping("/qsCheck")
    public String toQsCheck(){
        return "page/qs/qs-check";
    }

    //=========================as=======================================

    @GetMapping("/as")
    public String toAs(){
        return "page/as/as-list";
    }

    @GetMapping("/asUncheckList")
    public String toAsUncheckList(){
        return "page/as/as-uncheck-list";
    }

    @GetMapping("/asAdd")
    public String toAsAdd(){
        return "page/as/as-add";
    }

    @GetMapping("/asEdit")
    public String toAsEdit(){
        return "page/as/as-edit";
    }

    @GetMapping("/asCheck")
    public String toAsCheck(){
        return "page/as/as-check";
    }

    @GetMapping("/asLook")
    public String toAsLook(){
        return "page/as/as-look";
    }

    //================================member=================================

    @GetMapping("/member")
    public String toMember(){
        return "page/member/member-list";
    }

    @GetMapping("/banner")
    public String toBanner(){
        return "page/banner/banner-list";
    }
}
